package account.bean;

import java.math.BigDecimal;

public class Account {
    private BigDecimal money;
    private String name;
    private int id;

    @Override
    public String toString() {
        return "Account{" +
                "money='" + money + '\'' +
                ", name='" + name + '\'' +
                ", id=" + id +
                '}';
    }

    public Account(BigDecimal money, String name, int id) {
        this.money = money;
        this.name = name;
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }
}
